package com.my.cd.template;

/**
 * 热饮模板实现类：泡咖啡
 */
public class Coffee extends HotDrink {
    @Override
    public void brew() {
        System.out.println("brewing the coffee");
    }

    @Override
    public void addCondiments() {
        System.out.println("adding sugar and some milk");
    }
}
